import React from 'react'

function index() {
  const userInfo=JSON.parse(localStorage.getItem('userInfo'))
  return (
    <div>
      <img src={userInfo.avatar} alt="" width='100px' height='100px' />
        姓名：{userInfo.nickname}
        手机号：{userInfo.tel}

    </div>
  )
}

export default index